
#include <iostream>
using namespace std;


class Date
{
public:
	Date(int year = 10, int month = 10, int day = 10)
		:_year(year)
		,_month(month)
		,_day(day)
	{}


	void Print()
	{
		cout << _year << endl;
	}


	~Date() 
	{}
private:
	int _year = 10;
	int _month;
	int _day;
};





int main()
{
	Date* d = nullptr;
	(*d).Print();
    
	return 0;
}



